
import Vue from "vue"
import Vuex from "vuex"
import lang from "./Lang"
import WorkPanel from "./WorkPanel"
import WebServer from "./WebServer"

Vue.use(Vuex)

const store = new Vuex.Store({
    strict: process.env.NODE_ENV !== "production",
    modules: {
        lang,
        workPanel: WorkPanel,
        webServer: WebServer
    }
})

// store.registerModule("lang", lang)
// store.registerModule("workPanel", WorkPanel)
// store.registerModule("webServer", WebServer)

export default store